package com.deyun.panelcabinet.entity;

public class TestEntity {
    private int id;
    private boolean isCheck;
    private String name;
    private boolean isException;

    public TestEntity(int id, boolean isCheck, String name, boolean isException) {
        this.id = id;
        this.isCheck = isCheck;
        this.name = name;
        this.isException = isException;
    }

    @Override
    public String toString() {
//        return "TestEntity{" +
//                "id=" + id +
//                ", isCheck=" + isCheck +
//                ", name='" + name + '\'' +
//                ", isException=" + isException +
//                '}';
        return "{" + "id = " + id + "," + "name = " + name + "},";
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isException() {
        return isException;
    }

    public void setException(boolean exception) {
        isException = exception;
    }
}
